Regarding in running the command "cat primes.txt"
Title
Question
when I run the command "cat primes.txt",it shows invalid syntax .Instead when the command is run as "!type primes.txt",it shows "the system cannot find the file specified", even though i have installed the 'pip install primes.py file'.Kindly help me with this query ASAP.Thanking You.
Kind Regards, Rithika.B
Python-3.4.3 Loading-Data-From-Files 01-02 min 20-30 sec
Answers:
You have to download Zip file mentioned in the tutorial. Extract the file & enter into the directory where the file is downloaded using cd command in ipython terminal. After this use the command to open the text file.
In [50]: cd Loading-Data-From-Files-Code-files/
In [51]: cat primes.txt
Login to add comment